<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="updateDivID" style="display:none">
    <form class="layui-form" id="addFormID">
        <xblock>
            <table>
                <tr style="height: 10px"></tr>
                <tr>
                    <td><label class="layui-form-label">供应商</label></td>
                    <td>
                        <div class="layui-input-inline" style="width:190px; float: left;">
                            <select  name="parameter1" lay-filter="materNum">
                                <c:forEach items="${allCustomerList }" var="customer">
                                    <option value="${customer.id}">${customer.customer_name }</option>
                                </c:forEach>
                        </div>
                    </td>

                    <td><label class="layui-form-label">物料号</label></td>
                    <td>
                        <div class="layui-input-inline" style="width:190px; float: left;">
                            <select name="mid" id="deptIdSearch" lay-verify="deptIdSearch" lay-search></select>
                        </div>
                    </td>
                </tr>

                <tr style="height: 10px"></tr>
                <tr>
                    <td><label class="layui-form-label">单据号</label></td>
                    <td>
                        <div class="layui-input-inline" style="width:190px; float: left;">
                            <select name="shippingDocuments" id="deptIdSearchs" lay-verify="deptIdSearchs" lay-search>
                                <c:forEach items="${shippingDocumentsList}" var="shippingDocuments">
                                    <option>${shippingDocuments}</option>
                                </c:forEach>
                            </select>
                        </div>
                    </td>
                    <td><label class="layui-form-label">到货日期</label></td>
                    <td>
                        <input class="layui-input" id="date2"  lay-verify="dueDate" name="anomRemarks2" style="width: 190px; display:inline">
                        <div class="layui-inline" style="margin-top: 10px;">
                            <span style="color:red; font-size: 24px; margin-left: 4px">*</span>
                        </div>
                    </td>
                </tr>

                <tr style="height: 10px"></tr>
                <tr>

                    <td><label class="layui-form-label">到货数量</label></td>
                    <td>
                        <input class="layui-input" id="maintenance" name="receiveNum" lay-verify="parameter2" type="number" style="width: 190px; display:inline">
                        <div class="layui-inline" style="margin-top: 10px;">
                            <span style="color:red; font-size: 24px; margin-left: 4px">*</span>
                        </div>
                    </td>

                    <td><label class="layui-form-label">收货数量</label></td>
                    <td>
                        <input class="layui-input"  name="codeNum" lay-verify="parameter2" type="number" style="width: 190px; display:inline">
                        <div class="layui-inline" style="margin-top: 10px;">
                            <span style="color:red; font-size: 24px; margin-left: 4px">*</span>
                        </div>
                    </td>

                </tr>
                <tr style="height: 10px"></tr>
                <tr>
                    <td><label class="layui-form-label">异常描述</label></td>
                    <td colspan="3">
                        <textarea name="anomType" class="layui-textarea" placeholder="请输入异常描述" style="width:510px;height:25px"></textarea>
                    </td>
                </tr>
                <tr style="height: 10px"></tr>
                <tr>
                    <td><label class="layui-form-label">备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注</label></td>
                    <td colspan="3">
                        <textarea name="anomRemarks" class="layui-textarea" placeholder="请输入备注" style="width:510px;height:25px"></textarea>
                    </td>
                </tr>
                <tr style="height: 20px"></tr>
                <tr align="center">
                    <td colspan="2"><button class="layui-btn layui-btn-blue" id="subBtn" lay-submit lay-filter="addForm" style="margin-left:190px; margin-bottom: 10px">提交</button></td>
                    <td colspan="2"><button class="layui-btn layui-btn-primary" style="margin-bottom: 10px">取消</button></td>
                </tr>
            </table>
        </xblock>
    </form>
</div>

</body>
</html>